//
//  NewsModel.m
//  Match
//
//  Created by lanou3g on 15/5/31.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "NewsModel.h"

@implementation NewsModel
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    
    
    
    if ([key isEqualToString:@"status"]) {
        NSDictionary *dict = (NSDictionary *)value;
        self.desc = [dict objectForKey:@"desc"];
        self.statusId = [dict objectForKey:@"id"];
    }
    self.ID = self.gid;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}




@end
